<!doctype html>
<title>Marker on implicit subpath</title>
<link rel="help" href="https://svgwg.org/svg2-draft/painting.html#RenderingMarkers">
<link rel="help" href="https://svgwg.org/svg2-draft/paths.html#PathDataClosePathCommand">
<link rel="match" href="../../struct/reftests/reference/green-100x100.html">
<svg width="400" viewBox="-200 0 400 150">
  <marker id="m" markerUnits="userSpaceOnUse" orient="auto" overflow="visible">
    <rect width="100" height="100" fill="green"/>
  </marker>
  <rect x="-200" width="100" height="100" fill="red"/>
  <path d="M-200,0ZZZ" marker-mid="url(#m)" stroke="red" stroke-width="4"/>
</svg>
